﻿using ADSTS_SERVER.Models;
using ADSTS_SERVER.ViewModels.Sensor;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace ADSTS_SERVER.ViewModels.Robot
{
    /// <summary>
    /// 模型表视图
    /// </summary>
    public class RobotView
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 机器人资源Url
        /// </summary>
        public string RobotUrl { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 型号
        /// </summary>
        public string RobotType { get; set; }

        /// <summary>
        /// 分类
        /// </summary>
        public string Tag { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 封面图Url
        /// </summary>
        public string Cover { get; set; }

        /// <summary>
        /// 传感器json
        /// </summary>
        public List<ADSTS_SERVER.Models.Sensor> Sensors { get; set; }

        /// <summary>
        /// 用户
        /// </summary>
        public ADSTS_SERVER.Models.User User { get; set; }
    }
}
